﻿using TinaX;
using TinaX.UIKit;
using TinaX.XComponent;
using UnityEngine.UI;

public class XLuaWrapper
{
    public static void UIKitOpenUI(string UIName, XBehaviour behaviour, OpenUIParam openUIParam, params object[] args)
    {
        var uiKit =  XCore.MainInstance.GetService<IUIKit>();
        uiKit.OpenUIAsync(UIName, behaviour, openUIParam, args);
    }
}
